sox: Remove unmaintained package. See sox_ng replacement
authorTed Hess <[email protected]>
Tue, 17 Jun 2025 20:04:27 +0000 (16:04 -0400)
committerJosef Schlehofer <[email protected]>
Fri, 18 Jul 2025 09:49:13 +0000 (11:49 +0200)
Sourceforge project abandoned - last version was 14.4.2 2015-02-22
New source: https://codeberg.org/sox_ng

Signed-off-by: Ted Hess <[email protected]>
(cherry picked from commit bae138d392947395a540696d087e47935fc48644)

sound/sox/Makefile [deleted file]
sound/sox/patches/001-cross_compile.patch [deleted file]
sound/sox/patches/010-fix_uclibc_build_issue.patch [deleted file]
sound/sox/patches/020-reproducible-builds.patch [deleted file]

diff --git a/sound/sox/Makefile b/sound/sox/Makefile
deleted file mode 100644 (file)
index bd80933..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=sox
-PKG_VERSION:=14.4.2
-PKG_RELEASE:=5
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=@SF/sox
-PKG_HASH:=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
-
-PKG_LICENSE:=LGPL-2.1 GPL-2.0
-PKG_LICENSE_FILES:=COPYING LICENSE.LGPL LICENSE.GPL
-PKG_CPE_ID:=cpe:/a:sound_exchange_project:sound_exchange
-
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/sox
-  SECTION:=sound
-  CATEGORY:=Sound
-  DEPENDS:=+lame-lib +libmad +libid3tag +libmagic \
-               +libvorbis +alsa-lib +libflac
-  TITLE:=Sox is a general purpose sound converter/player/recorder
-  URL:=http://sox.sourceforge.net/
-endef
-
-define Package/sox/description
-       SoX is a command line utility that can convert various formats
-       of computer audio files in to other formats. It can also apply
-       various effects to these sound files during the conversion.
-       As an added bonus, SoX can play and record audio files on
-       several unix-style platforms.
-endef
-
-CONFIGURE_ARGS += \
-               --without-oss \
-               --without-ao \
-               --with-alsa \
-               --without-libltdl \
-               --with-flac \
-               --without-ladspa \
-               --without-png \
-               --without-sndfile \
-               --without-opus \
-               --without-wavpack \
-               --with-lame \
-               --with-id3tag \
-               --disable-openmp
-
-define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/include
-       $(CP) \
-               $(PKG_INSTALL_DIR)/usr/include \
-               $(1)/usr/include/
-       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) \
-               $(PKG_INSTALL_DIR)/usr/lib/libsox.{a,so*,la} \
-               $(1)/usr/lib/
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
-               $(1)/usr/lib/pkgconfig/
-endef
-
-define Package/sox/install
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/{play,rec,sox} $(1)/usr/bin/
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsox.so* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,sox))
diff --git a/sound/sox/patches/001-cross_compile.patch b/sound/sox/patches/001-cross_compile.patch
deleted file mode 100644 (file)
index badd531..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -145,7 +145,7 @@ EXTRA_DIST = monkey.wav optional-fmts.am
-            CMakeLists.txt soxconfig.h.cmake \
-            tests.sh testall.sh tests.bat testall.bat test-comments
--all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT) sox_sample_test$(EXEEXT) example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
-+all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT)
- play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT): sox$(EXEEXT)
-       if test "$(PLAYRECLINKS)" = "yes"; then \
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -3020,7 +3020,7 @@ uninstall-am: uninstall-binPROGRAMS unin
-       uninstall-pkglibLTLIBRARIES
--all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT) sox_sample_test$(EXEEXT) example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
-+all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT)
- play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT): sox$(EXEEXT)
-       if test "$(PLAYRECLINKS)" = "yes"; then \
diff --git a/sound/sox/patches/010-fix_uclibc_build_issue.patch b/sound/sox/patches/010-fix_uclibc_build_issue.patch
deleted file mode 100644 (file)
index 6a06301..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/formats.c
-+++ b/src/formats.c
-@@ -413,7 +413,7 @@ static void UNUSED rewind_pipe(FILE * fp
- #if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__
-   fp->_p -= PIPE_AUTO_DETECT_SIZE;
-   fp->_r += PIPE_AUTO_DETECT_SIZE;
--#elif defined __GLIBC__
-+#elif defined __GLIBC__ && ! defined __UCLIBC__
-   fp->_IO_read_ptr = fp->_IO_read_base;
- #elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || \
-       defined _ISO_STDIO_ISO_H || defined __sgi
-@@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp
-   /* To fix this #error, either simply remove the #error line and live without
-    * file-type detection with pipes, or add support for your compiler in the
-    * lines above.  Test with cat monkey.wav | ./sox --info - */
--  #error FIX NEEDED HERE
-   #define NO_REWIND_PIPE
-   (void)fp;
- #endif
diff --git a/sound/sox/patches/020-reproducible-builds.patch b/sound/sox/patches/020-reproducible-builds.patch
deleted file mode 100644 (file)
index f8d099a..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/src/libsox.c
-+++ b/src/libsox.c
-@@ -65,8 +65,6 @@ sox_version_info_t const * sox_version_i
- #else
-         NULL,
- #endif
--        /* sox_time */
--        __DATE__ " " __TIME__,
-         /* sox_distro */
- #ifdef DISTRO
-         DISTRO,
---- a/src/sox.h
-+++ b/src/sox.h
-@@ -1321,7 +1321,6 @@ typedef struct sox_version_info_t {
-     sox_uint32_t version_code; /**< version number = 0x140400 */
-     char const * version;      /**< version string = sox_version(), for example, "14.4.0" */
-     char const * version_extra;/**< version extra info or null = "PACKAGE_EXTRA", for example, "beta" */
--    char const * time;         /**< build time = "__DATE__ __TIME__", for example, "Jan  7 2010 03:31:50" */
-     char const * distro;       /**< distro or null = "DISTRO", for example, "Debian" */
-     char const * compiler;     /**< compiler info or null, for example, "msvc 160040219" */
-     char const * arch;         /**< arch, for example, "1248 48 44 L OMP" */
---- a/src/sox.c
-+++ b/src/sox.c
-@@ -1828,8 +1828,6 @@ static void display_SoX_version(FILE * f
-       info->version_extra ? info->version_extra : "");
-   if (sox_globals.verbosity > 3) {
--    if (info->time)
--      fprintf(file, "time:     %s\n", info->time);
-     if (info->distro)
-       fprintf(file, "issue:    %s\n", info->distro);
- #if HAVE_SYS_UTSNAME_H